<html>
<head>
<meta HTTP-EQUIV=CONTENT-TYPE CONTENT="text/html; charset=utf-8">
<title>Slide 34</title>
</head>
<body>
<center>
<a href="text0.html">First page</a> <a href="text32.html">Back</a> <a href="text34.html">Continue</a> <a href="text82.html">Last page</a> <a href="whatswrong.html">Overview</a> <a href="img33.html">Graphics</a></center><br>
<h1><b>Example: Validating XHTML</b></h1><p>
<ul><li><h2>It must validate against one of the three DTDs found in Appendix A.</h2>
<li><h2>The root element of the document must be &lt;html&gt;.</h2>
<li><h2>The root element of the document must designate the XHTML namespace using the xmlns attribute [XMLNAMES]. The namespace for XHTML is defined to be http://www.w3.org/1999/xhtml.</h2>
<li><h2>There must be a DOCTYPE declaration in the document prior to the root element. The public identifier included in the DOCTYPE declaration must reference one of the three DTDs found in Appendix A using the respective Formal Public Identifier. The system identifier may be changed to reflect local system conventions.</h2>
</ul></body>
</html>